//
//  WorkflowListCell.h
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 2017/8/30.
//  Copyright © 2017年 com.xtion.crm. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WorkflowListCell : XUITableViewCell

@property(nonatomic,strong) NSString *processName;
@property(nonatomic,strong) NSString *processState;
@property(nonatomic,strong) NSString *appName;
@property(nonatomic,strong) NSString *createdUserDept;
@property(nonatomic,strong) NSDate *createdDateTime;

-(NSString*)setProcessStatus:(NSInteger)processStatus;

+(CGFloat)caleHeight:(CGFloat)containWidth content:(NSString*)content;

@end

typedef NS_ENUM(NSInteger, WorkflowListType)
{
    WorkflowListTypeDateType,
    WorkflowListTypeCalendarType,
    WorkflowListTypeContent
};

@interface AttendanceRecordCalcuteInfo : NSObject

@property(nonatomic,strong) NSString *xingMing;
@property(nonatomic,strong) NSString *xingBie;
@property(nonatomic,strong) NSDate *chuShengDate;
@property(nonatomic,strong) NSString *iDCard;
@property(nonatomic,strong) NSString *xueHao;
@property(nonatomic,strong) NSString *minZu;
@property(nonatomic,strong) NSString *dianHua;
@property(nonatomic,strong) NSString *zaiJiZhuangTai;

@property(nonatomic,strong) XMSNumberInt *zhengChangSum;
@property(nonatomic,strong) XMSNumberInt *chiDaoSum;
@property(nonatomic,strong) XMSNumberInt *zaoTuiSum;
@property(nonatomic,strong) XMSNumberInt *rowNumber;

@end

@interface WorkflowCellList : NSObject

@property(nonatomic,assign) WorkflowListType type;

@property(nonatomic,strong) NSArray *datas;
@property(nonatomic,strong) WorkflowToDoListInfo *wf;
@property(nonatomic,strong) NSDate *curDate;
@property(nonatomic,strong) AttendanceRecordCalcuteInfo *calcuteInfo;

@property(nonatomic,assign) CGFloat rowHeight;

+(NSArray*)workflowListToListArray:(NSArray*)data;
@end
